<h3>Website Table</h3>
<?php echo $this->Html->link('Add Website', array('action' => 'add'))?>
<table>
	<tr>
		<th>Row Num</th>
		<th>Title</th>
		<th>Description</th>
		<th>Create Time</th>
		<th>Action</th>
	</tr>
	<?php $index = 0;?>
	<?php foreach ($websites as $item):?>
	<?php $website = $item['Website'];?>
	<tr>
		<td><?php echo ++$index;?></td>
		<td class="td_title">
			<?php echo $this->Html->link($website['title'], 
				array('controller' => $website['controller'], 'action' => $website['action']))?>
		</td>
		<td>
			<?php echo $website['description']?>
		</td>
		<td>
			<?php echo $website['create_time'];?>
		</td>
		<td>
			<?php echo $this->Html->link('View', 
				array('action' => 'view', $website['id']))?>
			<?php echo $this->Html->link('Edit', 
				array('action' => 'edit', $website['id']));?>
			<?php echo $this->Html->link('Download PSD', 
				array('action' => 'download', $website['design_file_name']))?>
		</td>
	</tr>
	<?php endforeach;?>
</table>